# -*- coding:utf-8 -*-
"""
@Time : 2021/3/16 00:06
@Author: langengel
@Des: 系统模块验证模型
"""
from pydantic import BaseModel
from typing import Optional


class AddRule(BaseModel):
    rule_name: str
    parent_id: Optional[int] = 0
    scopes: str
    is_check: int
    is_menu: int
    rule_desc: Optional[str] = None
